package com.sunday.redisson.lock;

import com.google.gson.Gson;
import com.sunday.redisson.annotation.OpenDistributedLock;
import lombok.Data;

import java.io.Serializable;

@Data
public class FieldDTO implements Serializable {

    @OpenDistributedLock("field_lock_id")
    private String[] strArr;

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

}
